<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>上传图片</title>
	</head>

	<body>
		<!--input标签，获取本地图片-->
		<input type="file" name="file" onchange="uploadImg(this)" accept="image/*" />
		<!--预览图片标签-->
		<!--<img class="viewImg" width="200" height="100"/>-->
		<div id="mainImg"></div>
		<script src="../../common/js/jquery.min.js"></script>
		<script src="../../common/js/components.js"></script>
	</body>

</html>